package com.google.project.shared;

import java.io.Serializable;

import javax.jdo.annotations.Persistent;

@SuppressWarnings("serial")
public class DailyReportDetailDTO implements Serializable{
	private String id;
	private String reportId;
	private String taskId;
	private String taskName;
	private Double workToFinished;
	private String unit;
	private String content;
	private int status;
	private Long createdOnDate;
	private String projectId;
	private int index;
	@Persistent
	private Long updateTime;
	@Persistent
	private String updateByUserId;
	public DailyReportDetailDTO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public DailyReportDetailDTO(String id, String reportId, String taskId,
			String taskName, Double workToFinished,String unit, String content,
			int status, Long createdOnDate) {
		super();
		this.id = id;
		this.reportId = reportId;
		this.taskId = taskId;
		this.taskName = taskName;
		this.workToFinished = workToFinished;
		this.unit=unit;
		this.content = content;
		this.status = status;
		this.createdOnDate = createdOnDate;
	}
	
	public DailyReportDetailDTO(String taskId, String taskName,
			Double workToFinished,String unit, String content, Long createdOnDate) {
		super();
		this.taskId = taskId;
		this.taskName = taskName;
		this.workToFinished = workToFinished;
		this.unit=unit;
		this.content = content;
		this.createdOnDate = createdOnDate;
	}
		
	public String getProjectId() {
		return projectId;
	}
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getReportId() {
		return reportId;
	}
	public void setReportId(String reportId) {
		this.reportId = reportId;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public Double getWorkToFinished() {
		return workToFinished;
	}
	public void setWorkToFinished(Double workToFinished) {
		this.workToFinished = workToFinished;
	}

	
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Long getCreatedOnDate() {
		return createdOnDate;
	}
	public void setCreatedOnDate(Long createdOnDate) {
		this.createdOnDate = createdOnDate;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	}
	public Long getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}
	public String getUpdateByUserId() {
		return updateByUserId;
	}
	public void setUpdateByUserId(String updateByUserId) {
		this.updateByUserId = updateByUserId;
	}
	
	
}
